package code

class ValidacionExcepcion(msg:String) extends RuntimeException(msg)

class UsuarioYaExisteException(username: String) extends RuntimeException(s"El usuario $username ya existe")

class ValidacionException(msg: String) extends RuntimeException(msg)

class UsuarioNoExisteException(username: String) extends RuntimeException(s"El usuario $username no existe")

class NuevaPasswordInvalidaException(msj: String)extends RuntimeException(msj)

class PasswordInvalidaExeption(msj: String)extends RuntimeException(msj)

class EnviarMailException(msj:String)extends RuntimeException(msj)

class EmailInexistente(msj:String)extends RuntimeException(msj)